package com.bruce;

import com.bruce.impl.UserServiceImpl;
import com.bruce.rpc.RpcFactory;
import com.bruce.service.UserService;

import java.rmi.RemoteException;

/**
 * @author Bruce
 */
public class ServerApplication {
    public static void main(String[] args) throws Exception {
        Class.forName("com.bruce.rpc.RpcFactory");
//        UserService userService = new UserServiceImpl();
//        RpcFactory.registerService(UserService.class, userService);
    }
}
